{config_load file="lang/$language/lang_$language.conf" section="reviews"}
{if $SUCCESS_MSG}
	<div class="green ac">{$SUCCESS_MSG}</div>
{elseif $ERROR_MSG}
	<div class="red ac">{$ERROR_MSG}</div>
	<div class="reviews_write ac">{$BUTTON_WRITE}</div>
{elseif $NEW_REVIEW}
	<div class="reviews_write ac">Schreiben Sie als Erster einen Kommentar <br /><br />{$BUTTON_WRITE}</div><br />
{else}
	<h3>&empty; {#heading_reviews#} ({$TOTAL_REVIEWS})</h3>
	{$REVIEWS_COUNT}
	{foreach name=aussen item=module_data from=$module_content}
		<div class="bts p5"{$itemscope_review}>
			<strong>{#text_rating#}</strong> {$module_data.RATING} <span{$module_data.REVIEW_SCHEMA}>{$module_data.REVIEW}</span><br />
			<p>{$module_data.DATE} von {$module_data.AUTHOR}</p>
			<p>{$module_data.TEXT}</p>
		</div>
	{/foreach}
	<div class="page_break_div ac">{$NAVIGATION}</div><br />
	<div class="reviews_write ar">{$BUTTON_WRITE}</div>
{/if}
{if $FORM_ACTION_REVIEW}
	{$FORM_ACTION_REVIEW}
		<table class="w100p">
			<tr>
				<td><strong>{#text_author#}</strong></td>
				<td>{$AUTHOR}</td>
			</tr>
			<tr>
				<td><strong>{#text_input#}</strong></td>
				<td>{$INPUT_TEXT}<br /><div class="fs85">{#text_note#}</div></td>
			</tr>
			<tr>
				<td><strong>{#text_rating#}</strong></td>
				<td>{$INPUT_RATING}</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>{$VVIMG}</td>
			</tr>
			<tr>
				<td><strong>{#text_returning_eingabe#}</strong></td>
				<td>{$INPUT_CODE}</td>
			</tr>
			<tr>
				<td></td>
				<td>{$BUTTON_CANCEL} {$BUTTON_SUBMIT}</td>
			</tr>
		</table>
	{$FORM_END}
	{$JS_REVIEW}
{/if}